package com.bsj.travel.openapi;

import com.bsj.travel.def.global.JsonResultEnum;
import com.bsj.travel.security.annotation.EnableCustomConfig;
import com.bsj.travel.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author yinhao
 * @version 1.0
 * @description 物联网MQTT服务
 * @date 2023/11/6
 */
/***
 * @description 开放接口服务
 * @author LiJiaXin
 * @version 1.0.0
 * @time 2024/4/7 11:41
 **/
@EnableCustomConfig
@EnableRyFeignClients
@CrossOrigin(origins = "*", maxAge = 3600)
@SpringBootApplication(scanBasePackages = {"com.bsj.travel"})
public class TravelCloudOpenApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(TravelCloudOpenApiApplication.class, args);
        System.out.println("(◠‿◠)ﾉﾞ  开放接口服务服务启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}